'''屏幕参数'''
SCREEN_WIDTH = 1000  # 屏幕宽度
SCREEN_HEIGHT = 1000  # 屏幕高度
SCREEN_COLOR = (0, 0, 0)  # 屏幕颜色
MAP_IMAGE = "./image/map.png"  # 地图
GAME_NAME = "bumper man"  # 游戏名称

'''玩家参数'''
INITIAL_POSITION = [500, 500]  # 初始位置
MOVE_STEP = 10 # 移动步长 px
MOVE_DELAY = 10  # 移动延时 ms
MOVE_INTERVAL = 10  # 移动间隔 ms

'''车辆参数'''
CAR_SPEED = 100 # 每秒移动的像素 px/s
CAR_TIME = 0.01 # 位置计算间隔时间 s
CAR_IMAGE = './image/car.png' # 车图

'''路线坐标与颜色(左上角为坐标原点)'''
LINE_1_POINTS = [(550, 250), (550, 300), (500, 360), (500, 820), (670, 820)]
LINE_1_COLOR = (15, 15, 150)

LINE_2_POINTS = [(340, 255), (290, 300), (445, 455), (500, 455),(580, 530), (700, 530), (865, 700)]
LINE_2_COLOR = (255, 99, 61)

LINE_3_POINTS = [(875, 145), (670, 145), (670, 285), (560, 395), (560, 455),(520, 495), (520, 530), (420, 530), (385, 570), (215, 575), (135, 650)]
LINE_3_COLOR = (214, 15, 107)

LINE_4_POINTS = [(140, 370), (140, 430), (530, 430), (600, 495), (875, 495)]
LINE_4_COLOR = (27, 173, 99)

LINE_5_POINTS = [(650, 140), (560, 140), (560, 240), (480, 240), (480, 350), (420, 420), (420, 530), (470, 595), (470, 765), (430, 810), (430, 840)]
LINE_5_COLOR = (160, 63, 146)

LINE_6_POINTS = [(260, 180), (260, 285), (390, 285), (470, 370), (560, 370), (600, 410), (600, 470), (550, 515), (550, 835)]
LINE_6_COLOR = (190, 115, 49)

LINE_7_POINTS = [(430, 335), (605, 335), (675, 410), (680, 530), (610, 605), (425, 605), (345, 525), (350 ,410), (430, 335)]
LINE_7_COLOR = (101, 208, 222)

LINE_8_POINTS = [(865, 415), (675, 410), (620, 470), (620, 540), (585, 575), (450, 575), (320 ,700), (230, 700)]
LINE_8_COLOR = (195, 213, 31)

LINE_9_POINTS = [(315, 395), (315, 590), (370, 645), (595, 645)]
LINE_9_COLOR = (241, 173, 23)

LINE_POINTS = [LINE_1_POINTS, LINE_2_POINTS, LINE_3_POINTS, LINE_4_POINTS, LINE_5_POINTS, LINE_6_POINTS, LINE_7_POINTS, LINE_8_POINTS, LINE_9_POINTS]

